Repository navigation
Conversation
…t (same-major) vite 7.3.8, react-router-dom 7.18.7, react 19.3.1, next 15.5.29, axios 1.21.1, lodash 4.18.1, mathjs 14.9.1; sharp pinned to 0.35.5 via overrides. Lockfiles regenerated from the Dockerfile manifests. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Signed-off-by: Kajal Jain <kajalj@nvidia.com>
|
/ok to test 9a05c64 |
|
/review |
…ajor bump Moves to the stacked major-bump PR: colorthief and ndarray-pixels declare ^0.33, so forcing 0.35.5 is a breaking-range jump for them. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Signed-off-by: Kajal Jain <kajalj@nvidia.com>
|
/ok to test c9291cf |
|
/review reset=true |
svcnvidia-nemo-ci
left a comment
There was a problem hiding this comment.
SHIP
LGTM, no concerns found. I reviewed all four changed files, the dependency graphs, and the connected build and verifier paths. Both stack reviewers found no introduced defects.
Validation
Local probes used 766267172432.dkr.ecr.us-east-1.amazonaws.com/gym:6aa1fd6a59e9647f1d2698d266eb20c302cbc40a, a successful default-branch CI image because this head has no CI image, with Node 22.20.0 installed in a scratch virtual environment.
- Both Dockerfile manifests match their lock roots. Exact
npm ci --legacy-peer-depsinstalls passed. Dependency resolution checks found no missing dependencies or newly incompatible peers. - Vite passed the extracted sample runner with strict type checking and a production build. Its built bundle passed mocked-DOM state and Router navigation probes. Dev-server transformation, preview routing and malformed-JSX rejection behaved as expected.
- Next passed a production build, HTTP/chunk serving and mocked-DOM hydration with a state-changing interaction. Native sharp consumers, Next image optimization, axios, mathjs and lodash probes passed.
- The verifier script, with only its template path relocated to scratch, built valid samples and rejected external-file imports for both stacks: four expected results.
On the admitted head, I relied on successful Lint check, both component-lock checks, Unit tests / Test, changed-server tests, combined core coverage and Nemo_CICD_Test. Full server-suite shards were skipped, not passed. Autobot PR risk #6812 failed with risk:unknown: grading failed; that check did not identify a code defect.
Limits
The Next build skips type validation and linting by its existing configuration. A separate animation-prop type probe failed identically with head and base React typings; the focused probe without those props passed. I found no demonstrated type regression from this change.
I did not build the complete Docker images or run real-browser visual checks or sandbox model rollouts. These probes do not validate the final image permissions or optional harness stages. The images still need the documented rebuild and republish after merge.
Review generated by codex. This was a full review. Request a full review with /review reset=true.
Extracts the package.json heredoc from docker/<stack>.Dockerfile, resolves the tree with npm and fails if the lock root stops mirroring the manifest. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Signed-off-by: Kajal Jain <kajalj@nvidia.com>
|
/ok to test 49f2b1f |
|
/review reset=true |
…ckerfile manifests Also SPDX header and temp-dir cleanup trap for regen_locks.sh. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Signed-off-by: Kajal Jain <kajalj@nvidia.com>
|
/ok to test 0773777 |
|
/review reset=true |
svcnvidia-nemo-ci
left a comment
There was a problem hiding this comment.
SHIP
I reviewed all six changed files and the connected build and verifier paths with three delegated reviewers. I found no BLOCKER or RISK. One optional NOTE would strengthen the new override check; neither committed lock has the stale nested dependency described there. The previous review had no findings to recheck.
Validation
Probes used 766267172432.dkr.ecr.us-east-1.amazonaws.com/gym:6aa1fd6a59e9647f1d2698d266eb20c302cbc40a, a successful default-branch CI image because this head has no CI image, with Node 22.20.0 and npm 10.9.3.
- Nine shell-helper probes passed, covering stack selection, manifest extraction, npm failure, root mismatch and cleanup.
- Sixteen mutation probes exercised the actual new test function. Manifest, root-map, direct-version and hoisted-override drift were rejected. A stale nested override escaped, supporting the NOTE.
- Real offline regeneration succeeded for both stacks. My strict byte-idempotence assertion failed because npm 10.9.3 removed only
libcmetadata from 44 optional Next entries. Versions, integrity hashes and dependency declarations stayed unchanged. Vite was unchanged, and the second run was byte-stable for both. - I reused the earlier successful npm installs, Next/Vite builds, mocked-DOM interactions and verifier acceptance/rejection probes after confirming that their executable inputs and locks still match this head.
On 0773777, I relied on successful Lint check, both component-lock checks, all four core shards, all eight server shards, combined coverage, Unit tests / Test, Unit tests / Server suite and Nemo_CICD_Test. CI logs explicitly show both new lock-test cases passed. Changed-server tests, session-routing end-to-end and Build Gym container were skipped, not passed.
Limits
The existing Next template skips type validation and lint. The earlier motion-prop type probe failed with both head and base React typings; the focused probe without those props passed. The npm dry-run comparison for the synthetic nested mutation was inconclusive because its cache lacked a package.
I did not build the complete UI Docker images or run real-browser visual checks or model rollouts. The documented image rebuild and republish are still needed for rollout.
Review generated by codex. This was a full review. Request a full review with /review reset=true.
| resolved = {name: lock["packages"][f"node_modules/{name}"]["version"] for name in manifest["dependencies"]} | ||
| assert resolved == manifest["dependencies"] | ||
| for name, version in manifest.get("overrides", {}).items(): | ||
| assert lock["packages"][f"node_modules/{name}"]["version"] == version, f"override {name} not applied" |
There was a problem hiding this comment.
NOTE, optional: Could this check inspect nested copies of each flat override too? This assertion checks only the hoisted package. In scratch copies of both locks, I added node_modules/framer-motion/node_modules/motion-utils at 12.23.27 while keeping the hoisted version at the declared override 12.23.28; calling the actual test function still passed. That leaves nested override drift outside the guard's coverage. Both committed locks currently contain only the correct copies, so this is not a current install failure.
For the existing exact, flat overrides, check every package key equal to node_modules/{name} or ending in /node_modules/{name}. Keep the root-map and direct-dependency checks. Acceptance: both committed pairs and JSON formatting changes should pass; a wrong nested override version should fail alongside the existing manifest, direct-version and hoisted-override negative cases.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Signed-off-by: Kajal Jain <kajalj@nvidia.com>
|
/ok to test c76baa4 |
|
/review reset=true |
svcnvidia-nemo-ci
left a comment
There was a problem hiding this comment.
SHIP
LGTM, no concerns found. I reviewed all six changed files and the connected build and verifier paths with three delegated reviewers.
The prior NOTE about stale nested overrides is fixed. My mutation probes reproduced the old guard accepting a stale nested copy and confirmed that the new guard rejects it for both stacks.
Validation
Probes ran in 766267172432.dkr.ecr.us-east-1.amazonaws.com/gym:228a16b96df8f925220a7edbff2d7d22317c78fb, a successful default-branch CI image because this head has no container image. I added Node 22.20.0/npm 10.9.3 to the external review environment.
- Twenty guard checks passed, covering valid formatting, root/direct-version drift, missing overrides and nested copies.
- Nine shell-helper probes passed, including npm failure, malformed inputs, destination preservation and temporary-directory cleanup.
- Clean npm installs with lifecycle scripts enabled passed for both stacks. Production builds, HTTP serving probes and verifier acceptance/outside-import rejection probes passed. The Vite sample also passed TypeScript checking.
- Next base-versus-head probes passed for React rendering, Axios HTTP/JSON, lodash, mathjs and the sharp consumers. Next image optimization also passed with sharp 0.35.5.
- Offline lock regeneration succeeded. npm 10.9.3 removed only
libcmetadata from 44 Next entries; Vite was unchanged. A second regeneration was byte-stable for both.
On the admitted head, I relied on green Lint check, both component-lock checks, all four core shards, all eight server shards, sandbox tests, combined coverage and the final test aggregates in CI run 46472388552. Core-shard logs explicitly show both new lock-test cases passed. Build Gym container, changed-server tests and session-routing end-to-end were skipped, not passed.
Limits
I did not build the complete UI Docker images, run real-browser visual checks or run model rollouts. The documented image rebuild and republish are still needed for rollout. All admitted checkouts are unchanged.
Review generated by codex. This was a full review. Request a full review with /review reset=true.
What / why
Security bump of the npm packages the dependency scanner flagged in the two generated-UI stack images (
resources_servers/ui_generation_agentic/docker/ui-vite,ui-next). Same-major bumps only; the major ones (jspdf, faker, swiper) follow in a stacked PR.^0.33copies colorthief and ndarray-pixels still want are moved in the stacked major-bump PR, since that crosses their declared range.package-lock.jsonfiles regenerated from the updated manifests. Newdocker/regen_locks.shdoes this for both stacks (extracts the heredoc, resolves withnpm install --package-lock-only --legacy-peer-deps, fails if the lock root stops mirroring the manifest); the Dockerfile comments point at it. A new unit test (tests/unit_tests/tooling/test_ui_generation_locks.py) asserts in CI that each lock's root and hoisted versions mirror its Dockerfile manifest, so manifest edits without a lock regen fail before the image build.Validation
dependenciesequal the Dockerfilepackage.jsonheredoc for both stacksnpm ci --legacy-peer-deps --ignore-scriptssucceeds against the heredoc manifest + new lock for both stacks (ui-vite 505, ui-next 723 top-level entries)regen_locks.shis idempotent: rerunning it on the committed locks produces no diffdocker/build_images.shrebuild of ui-vite and ui-next images (no Docker daemon available locally; images are not built in PR CI)Rollout
The stack images are built and pushed by
resources_servers/ui_generation_agentic/docker/build_images.sh; rebuild and republish them after merge so the running environment picks up the new trees.🤖 Generated with Claude Code